const express = require('express');
const router = express.Router();
const posts_handler = require("../../router_handler/user/IpAddress");
const {verifyToken} = require("../../utils/JWT");

//查询IP地址
router.get('/', posts_handler.IpAddress);

router.get('/list',  verifyToken, posts_handler.getIpAddressListByCity);

//最近访问记录
router.get('/recent', verifyToken, posts_handler.getRecentIpAddressList);
module.exports = router;